debug = debug or {}

function debug.print(...)
    local info = debug.getinfo(2)
    print(info.source ..":"..info.currentline,...)
end
